/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.nii.qlks.ControlLayer;

import edu.nii.qlks.BusinessLogicLayer.BCDatTiecBLL;
import edu.nii.qlks.DataTransferObject.BCDatTiecInfo;
import java.util.ArrayList;

/**
 *
 * @author MARS_NHO
 */
public class BCDatTiecControl {
    BCDatTiecBLL BCDatTiec = new BCDatTiecBLL();
    
    public ArrayList LayDS() throws Exception{
        return BCDatTiec.LayDS();
    }
        
    public void Insert(BCDatTiecInfo bCDatTiecInfo) throws Exception{
        BCDatTiec.Insert(bCDatTiecInfo);
    }
    
    public void Update(BCDatTiecInfo bCDatTiecInfo) throws Exception{
        BCDatTiec.Update(bCDatTiecInfo);
    }
    
    public void Delete(BCDatTiecInfo bCDatTiecInfo) throws Exception{
        BCDatTiec.Delete(bCDatTiecInfo);
    }
    
    public String TaoMaTuDong(String maGoc, int batDau){
         return BCDatTiec.TaoMaTuDong(maGoc, batDau);
     }
}
